求<K's first case的〉剧情简介!!!

来源:百度知道 编辑:UC知道 时间:2024/06/24 08:38:47
读后感更好

If Combo1.Text = "求Sin" And Combo2.Text = "弧度" Then
Label1.Caption = Sin(a1 * 3.14 / 180)
If Combo1.Text = "求Cos" And Combo2.Text = "弧度" Then
Label1.Caption = Cos(a1 * 3.14 / 180)
If Combo1.Text = "求Tan" And Combo2.Text = "弧度" Then
Label1.Caption = Tan(a1 * 3.14 / 180)
If Combo1.Text = "求Sin" And Combo2.Text = "角度" Then
Label1.Caption = Sin(a1)
If Combo1.Text = "求Cos" And Combo2.Text = "角度" Then
Label1.Caption = Cos(a1)
If Combo1.Text = "求Tan" And Combo2.Text = "角度" Then
Label1.Caption = Tan(a1)
End If
End If
End If
End If
End If
End If
逻辑不对,改成下面这样
If Combo1.Text = "求Sin" And Combo2.Text = "弧度" Then
Label1.Caption = Sin(a1 * 3.14 / 180)
End If
If Combo1.Text = "求Cos" And Combo2.Text = "弧度" Then